﻿<navigation:Page x:Class="Dot2Silverlight.Home" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
    Title="Home"
    Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot">

        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="80"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>

        <StackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
            <Button Margin="2" Width="70" Height="20" x:Name="uploadFile" Content="Upload File" Click="uploadFile_Click"></Button>
            <TextBlock Margin="2" x:Name="txtMessage"></TextBlock>
            <Slider Margin="5" x:Name="zoomSlider" Value="100" Minimum="10" Maximum="100" Orientation="Vertical" Height="200" />

        </StackPanel>

        <ScrollViewer Grid.Row="0" Grid.Column="1" x:Name="PageScrollViewer2" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >

            <Canvas Canvas.Left="120" Canvas.Top="10" x:Name="mainCanvas">
                <Canvas.Background>
                    <SolidColorBrush Color="White" Opacity=".3"/>
                </Canvas.Background>
                <Canvas x:Name="entityCanvas">
                </Canvas>
            </Canvas>
        </ScrollViewer>



    </Grid>

</navigation:Page>